Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: So long since I did web development.. need help with displaying a field based on an entry..
Feedback Type: Suggestion
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Not applicable

I have two fields:
sdate & edate (date fields)..

I have another field.. numhours (combobox)

If sdate = edate, I want to show numhours, if sdate <> edate, do not want to display numhours

On the client, I just have some code that runs on the exit of the edate field that refreshes the document and hides the field. but on the browser, I don't really know how to do that.

was thinking I could use css and the display properties.. to display the numhours.. but not really proficient at javascript.

I have two little buttons for the sdate and edate that bring up the calendar picker. thinking on the onclick of the little button, I can check to see if sdate = edate and then display the numhours field..

this is the javascript for the little button on both the edate and the sdate fields:

show_calendar('forms[0].sdate')
show_calendar('forms[0].edate')

thanks in advance for any help..


Feedback number WEBBA5XLFB created by ~Hal Quetlu on 01/07/2016

Status: Open
Comments:

So long since I did web development... (~Hal Quetlu 7.Jan.16)
. . so.. here is what I am trying so fa... (~Hal Quetlu 7.Jan.16)
. . Javascript... (~Dan Kikiterobu... 7.Jan.16)
. . . . Thank you! (~Hal Quetlu 7.Jan.16)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS